package pe.gob.sunarp.entidad;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the INTERDICCION database table.
 * 
 */
//@Entity
//@Table(name="INTERDICCION")
public class Interdiccion implements Serializable {
	private static final long serialVersionUID = 1L;
	private String agntSync;
	private String apeMat;
	private String apePat;
	private String curPrtc;
	private String flagTipo;
	private String nombres;
	private String nuDocIden;
	private String numPartida;
	private String oficRegId;
	private String oficina;
	private String regPubId;
	private String region;
	private String tiDocIden;
	private Date tsUltSync;

    public Interdiccion() {
    }


	@Column(name="AGNT_SYNC", length=4)
	public String getAgntSync() {
		return this.agntSync;
	}

	public void setAgntSync(String agntSync) {
		this.agntSync = agntSync;
	}


	@Column(name="APE_MAT", length=30)
	public String getApeMat() {
		return this.apeMat;
	}

	public void setApeMat(String apeMat) {
		this.apeMat = apeMat;
	}


	@Column(name="APE_PAT", length=30)
	public String getApePat() {
		return this.apePat;
	}

	public void setApePat(String apePat) {
		this.apePat = apePat;
	}


	@Column(name="CUR_PRTC", nullable=false, length=14)
	public String getCurPrtc() {
		return this.curPrtc;
	}

	public void setCurPrtc(String curPrtc) {
		this.curPrtc = curPrtc;
	}


	@Column(name="FLAG_TIPO", length=1)
	public String getFlagTipo() {
		return this.flagTipo;
	}

	public void setFlagTipo(String flagTipo) {
		this.flagTipo = flagTipo;
	}


	@Column(length=40)
	public String getNombres() {
		return this.nombres;
	}

	public void setNombres(String nombres) {
		this.nombres = nombres;
	}


	@Column(name="NU_DOC_IDEN", length=12)
	public String getNuDocIden() {
		return this.nuDocIden;
	}

	public void setNuDocIden(String nuDocIden) {
		this.nuDocIden = nuDocIden;
	}


	@Column(name="NUM_PARTIDA", nullable=false, length=8)
	public String getNumPartida() {
		return this.numPartida;
	}

	public void setNumPartida(String numPartida) {
		this.numPartida = numPartida;
	}


	@Column(name="OFIC_REG_ID", nullable=false, length=2)
	public String getOficRegId() {
		return this.oficRegId;
	}

	public void setOficRegId(String oficRegId) {
		this.oficRegId = oficRegId;
	}


	@Column(nullable=false, length=2)
	public String getOficina() {
		return this.oficina;
	}

	public void setOficina(String oficina) {
		this.oficina = oficina;
	}


	@Column(name="REG_PUB_ID", nullable=false, length=2)
	public String getRegPubId() {
		return this.regPubId;
	}

	public void setRegPubId(String regPubId) {
		this.regPubId = regPubId;
	}


	@Column(nullable=false, length=2)
	public String getRegion() {
		return this.region;
	}

	public void setRegion(String region) {
		this.region = region;
	}


	@Column(name="TI_DOC_IDEN", length=2)
	public String getTiDocIden() {
		return this.tiDocIden;
	}

	public void setTiDocIden(String tiDocIden) {
		this.tiDocIden = tiDocIden;
	}


    @Temporal( TemporalType.DATE)
	@Column(name="TS_ULT_SYNC")
	public Date getTsUltSync() {
		return this.tsUltSync;
	}

	public void setTsUltSync(Date tsUltSync) {
		this.tsUltSync = tsUltSync;
	}

}